import request from "@/utils/request";

// 添加门店有效期
export function createRenewalPage(data) {
  return request({
    url: "/store/expire/create",
    method: "post",
    data: data,
  });
}

// 获得门店有效期管理分页
export function getRenewalPage(query) {
  return request({
    url: "/store/expire/page",
    method: "get",
    params: query,
  });
}

// 删除门店有效期管理
export function DeleteRenewalPage(data) {
  return request({
    url: "/store/expire/delete",
    method: "delete",
    data: data,
  });
}

// 查询待续费门店列表
export function getWaitRenewalMoney(data) {
  return request({
    url: "/store/store/wait/money",
    method: "post",
    data: data,
  });
}
